package com.cn.wanxi.util.dao.impl;

import com.cn.wanxi.util.dao.IBannerDao;
import com.cn.wanxi.util.model.BannerModel;
import com.cn.wanxi.util.utils.BannerUtile;

import java.util.ArrayList;
import java.util.List;

public class BannerDao  implements IBannerDao {
    BannerUtile bannerUtile =new BannerUtile();
    @Override
    public List<BannerModel> banner() {

        List<BannerModel> bannerModels = bannerUtile.readBanner();
        return bannerModels;
    }
}
